#pragma once

#include "internal.h"
#include "ThreadPool.h"

class ThreadPoolWork
{
	OSIP_STATIC_DECLARE(ThreadPoolWork)
public:
	ThreadPoolWork();
	~ThreadPoolWork();

	void initialization();
	void uninitialization();
	size_t addTask(zl::Task* task);
	int size();
private:
	zl::ThreadPool* m_threadPool;
};
